﻿<%@ Page Title="" Language="C#" MasterPageFile="~/StuMaster.Master" AutoEventWireup="true"
    CodeBehind="StuProject.aspx.cs" Inherits="LIMS.Web.StuProject" MaintainScrollPositionOnPostback="true" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <img src="images/shiyanxiangmu.jpg" height="35" alt="实验项目" title="实验项目" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <asp:Repeater ID="rpMyProject" runat="server" OnItemDataBound="rpMyProject_OnItemDataBound">
        <HeaderTemplate>
            <table border="1" width="100%">
                <tr align="center">
                    <th>
                        序号
                    </th>
                    <th>
                        实验名称
                    </th>
                    <th>
                        时间
                    </th>
                    <th>
                        实验内容
                    </th>
                    <th>
                        教师姓名
                    </th>
                </tr>
        </HeaderTemplate>
        <ItemTemplate>
            <tr align="center">
                <td>
                    <%#Container.ItemIndex+1 %>
                </td>
                <td>
                    <%#Eval("proName")%>
                </td>
                <td>
                    <%#Eval("proDate", "{0:yyyy-MM-dd hh:mm:ss}")%>
                </td>
                <td align="left">
                    <%# SubString(Eval("proDetail").ToString(),14)%>
                </td>
                <td>
                    <%#bindTeaNameByID(  Eval("proTeacherId").ToString())%>
                </td>
            </tr>
        </ItemTemplate>
        <FooterTemplate>
            </table>
        </FooterTemplate>
    </asp:Repeater>
    <br />
    <webdiyer:AspNetPager ID="AspNetPager1" runat="server" CustomInfoHTML="总记录数:%RecordCount%, 总页数:%PageCount%, 当前为第 %CurrentPageIndex% 页"
        FirstPageText="<<" LastPageText=">>" LayoutType="Div" NextPageText=">" NumericButtonCount="6"
        PageIndexBoxType="DropDownList" PageSize="1" PrevPageText="<" ShowNavigationToolTip="true"
        PagingButtonSpacing="6px" ShowCustomInfoSection="Right" OnPageChanged="AspNetPager1_PageChanged"
        Font-Size="12px" HorizontalAlign="Center" Width="100%" AlwaysShow="true" CustomInfoSectionWidth="40%">
    </webdiyer:AspNetPager>
</asp:Content>
